package forum.client.ui;


public interface UsersListHandlerInt {
	/**
	 * demotes the users.
	 * @param users the users to demote.
	 */
	public void demoteUsers(String[] users);
	/**
	 * promotes the users.
	 * @param users the users to promote.
	 */
	public void promoteUsers(String[] users);
	/**
	 *
	 * @return the users for demotion to be displayed in the list.
	 */
	public String[] getUsersForDemotion();
	/**
	 *
	 * @return the users for promotion to be displayed in the list.
	 */
	public String[] getUsersForPromotion();
	/**
	 * An error message that appears in case of an error (e.g. an operation failed).
	 * This function is called by the controller layer.
	 *
	 * @param errorMessage The error message to appear.
	 */
	public void NotifyError(String errorMessage);
}
